﻿using MyAuthCore.Tools;
using SqlSugar;
using System;

namespace MyAuthCore.Entity.Base
{
    public class BaseEntity
    {
        [SugarColumn(IsNullable = false, IsPrimaryKey = true,  Length =22)]
        public string Id { get; set; }

        public BaseEntity()
        {
            Id = IDHelper.GetTimeUUID();
        }
    }
}
